package com.nongtai.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Jwt相关配置项
 * @author yza
 * @version 1.0
 * @date 2024/7/11 16:48
 */
@Component
@ConfigurationProperties(prefix = "shop.jwt")
@Data
public class JwtProperties {
    private String userSecretKey;
    private long userTtl;
    private String userTokenName;
}
